package com.lagou.bean;

import com.alibaba.dubbo.config.annotation.Reference;
import com.lagou.SayHelloService;
import org.springframework.stereotype.Service;

@Service
public class ConsumerCompoment {

	@Reference(check = false,loadbalance = "roundrobin")
	private SayHelloService sayHelloService;

	public String sayHello(String name) {
		return sayHelloService.sayHello(name);
	}
}
